Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 960e33ee6e60f4d5d2278446b7844ca58d1fdeec


Parents : edd88d9
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-05-01T04:13:19-05:00

refactor(identity): remove legacy migration logic from database initialization to streamline setup process

Changes

1 files changed, 0 insertions(+), 5 deletions(-)


Diff

diff --git a/meshchatx/src/backend/identity_context.py b/meshchatx/src/backend/identity_context.py
index 6fd519bd..ca3cc000 100644
--- a/meshchatx/src/backend/identity_context.py
+++ b/meshchatx/src/backend/identity_context.py
@@ -139,11 +139,6 @@ class IdentityContext:
try:
self.database.initialize()
- if not getattr(self.app, "emergency", False):
- self.database.migrate_from_legacy(
- self.app.reticulum_config_dir,
- self.identity_hash,
- )
self.database._tune_sqlite_pragmas()
except Exception as exc:
if not self.app.auto_recover and not getattr(self.app, "emergency", False):


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────